package com.pig4cloud.pigx.contract.constant;

public interface I18nMessages {

    /**
     * 数据异常，%s为空
     */
    String DATA_IS_EMPTY = "data.is.empty";

    /**
     * 数据异常，%s不能为空
     */
    String DATA_CANNOT_BE_EMPTY = "data.cannot.be.empty";

    /**
     * 数据异常，symbolId为空
     */
    String SYSMBOL_ID_IS_EMPTY = "symbol.id.is.empty";

    /**
     * 数据异常，type为空
     */
    String TYPE_IS_EMPTY = "type.is.empty";

    /**
     * 数据异常，positionMode为空
     */
    String POSITION_MODE_IS_EMPTY = "position.mode.is.empty";

    /**
     * 数据异常，side为空
     */
    String SIDE_IS_EMPTY = "side.is.empty";

    /**
     * 数据异常，operationType为空
     */
    String OPERATION_TYPE_IS_EMPTY = "operation.type.is.empty";

    /**
     * 数据异常，price为空
     */
    String PRICE_IS_EMPTY = "price.is.empty";

    /**
     * 数据异常，num为空
     */
    String NUM_IS_EMPTY = "num.is.empty";

    /**
     * 数据异常，multiple为空
     */
    String MULTIPLE_IS_EMPTY = "multiple.is.empty";

    /**
     * 数据异常，margin为空
     */
    String MARGIN_IS_EMPTY = "margin.is.empty";

    /**
     * 数据异常，id为空
     */
    String ID_IS_EMPTY = "id.is.empty";

    /**
     * marketCancelDelay不能为空
     */
    String MARKET_CANCEL_DELAY_CANNOT_BE_EMPTY = "market.cancel.delay.cannot.be.empty";

    /**
     * marketCancelDelay不能小于0
     */
    String MARKET_CANCEL_DELAY_CANNOT_BE_LESS_THAN_ZERO = "market.cancel.delay.cannot.be.less.than.zero";

    /**
     * liquidateMaxSizeWhenDispatch不能为空
     */
    String LIQUIDATE_MAX_SIZE_WHEN_DISPATCH_CANNOT_BE_EMPTY = "liquidate.max.size.when.dispatch.cannot.be.empty";

    /**
     * liquidateMaxSizeWhenDispatch不能小于0
     */
    String LIQUIDATE_MAX_SIZE_WHEN_DISPATCH_CANNOT_BE_LESS_THAN_ZERO = "liquidate.max.size.when.dispatch.cannot.be.less.than.zero";

    /**
     * cacheNum不能为空
     */
    String CACHE_NUM_CANNOT_BE_EMPTY = "cache.num.cannot.be.empty";

    /**
     * cacheSize不能为空
     */
    String CACHE_SIZE_CANNOT_BE_EMPTY = "cache.size.cannot.be.empty";

    /**
     * unitOptionList不能为空
     */
    String UNIT_OPTION_LIST_CANNOT_BE_EMPTY = "unit.option.list.cannot.be.empty";

    /**
     * 撤销订单失败
     */
    String ORDER_CANCELLATION_FAILURE = "order.cancellation.failure";

    /**
     * 订单状态已改变
     */
    String ORDER_STATUS_HAS_CHANGED = "order.status.has.changed";

    /**
     * 未能查询到订单信息
     */
    String ORDER_INFORMATION_COULD_NOT_BE_QUERIED = "order.information.could.not.be.queried";

    /**
     * 数据异常，userId为空
     */
    String USER_ID_IS_EMPTY = "user.id.is.empty";

    /**
     * 设置订单过期失败
     */
    String FAILED_TO_SET_ORDER_EXPIRATION = "failed.to.set.order.expiration";

    /**
     * 最大条件单挂单数量为%s
     */
    String MAXIMUM_NUMBER_OF_LISTED_ORDERS_IS = "maximum.number.of.listed.orders.is";

    /**
     * 数据异常，stopProfitType为空
     */
    String STOP_PROFIT_TYPE_IS_EMPTY = "stop.profit.type.is.empty";

    /**
     * 请输入正确的止盈触发价格
     */
    String PLEASE_ENTER_THE_CORRECT_LIMITED_TRIGGER_PRICE = "please.enter.the.correct.limited.trigger.price";

    /**
     * 请输入正确的止盈价格
     */
    String PLEASE_ENTER_THE_CORRECT_LIMITED_PRICE = "please.enter.the.correct.limited.price";

    /**
     * 止盈价格需要高于委托价格
     */
    String LIMITED_PRICE_NEEDS_TO_BE_HIGHTER_THAN_THE_ENTRUST_PRICE = "limited.price.needs.to.be.higher.than.the.entrust.price";

    /**
     * 止盈价格过高
     */
    String LIMITED_PRICE_IS_TOO_HIGH = "limited.price.is.too.high";

    /**
     * 止盈价格需要低于委托价格
     */
    String LIMITED_PRICE_NEEDS_TO_BE_LOWER_THAN_THE_ENTRUST_PRICE = "limited.price.needs.to.be.lower.than.the.entrust.price";

    /**
     * 止盈价格过低
     */
    String LIMITED_PRICE_IS_TOO_LOW = "limited.price.is.too.low";

    /**
     * 数据异常，stopLostType为空
     */
    String STOP_LOST_TYPE_IS_EMPTY = "stop.lost.type.is.empty";

    /**
     * 请输入正确的止损触发价格
     */
    String PLEASE_ENTER_THE_CORRECT_STOP_LOST_TRIGGER_PRICE = "please.enter.the.correct.stop.lost.trigger.price";

    /**
     * 请输入正确的止损价格
     */
    String PLEASE_ENTER_THE_CORRECT_STOP_LOST_PRICE = "please.enter.the.correct.stop.lost.price";

    /**
     * 止损价格需要低于委托价格
     */
    String STOP_LOST_PRICE_NEEDS_TO_BE_LOWER_THAN_THE_ENTRUST_PRICE = "stop.lost.price.needs.to.be.lower.than.the.entrust.price";

    /**
     * 止损价格过低
     */
    String STOP_LOST_PRICE_ARE_TOO_LOW = "stop.lost.price.are.too.low";

    /**
     * 止损价格需要高于委托价格
     */
    String STOP_LOST_PRICE_NEEDS_TO_BE_HIGHTER_THAN_THE_ENTRUST_PRICE = "stop.lost.price.needs.to.be.higher.than.the.entrust.price";

    /**
     * 止损价格过高
     */
    String STOP_LOST_PRICE_ARE_TOO_HIGH = "stop.lost.price.are.too.high";

    /**
     * 止盈触发价格需要高于止损触发价格
     */
    String STOP_LOSS_TRIGGER_PRICE_NEEDS_TO_BE_HIGHER_THAN_THE_STOP_LOSS_TRIGGER_PRICE = "stop.loss.trigger.price.needs.to.be.higher.than.the.stop.loss.trigger.price";

    /**
     * 止盈触发价格需要低于止损触发价格
     */
    String STOP_LOSS_TRIGGER_PRICE_NEEDS_TO_BE_LOWER_THAN_THE_STOP_LOSS_TRIGGER_PRICE = "stop.loss.trigger.price.needs.to.be.lower.than.the.stop.loss.trigger.price";

    /**
     * 合约账户额度不足
     */
    String INSUFFICIENT_CONTRACT_ACCOUNT = "insufficient.contract.account";

    /**
     * 数据异常，不能低于已有杠杆倍数：%s
     */
    String CANNOT_BE_LOWER_THAN_THE_EXISTING_LEVERAGE_MULTIPLE = "cannot.be.lower.than.the.existing.leverage.multiple";

    /**
     * 数据异常，已有仓位模式：%s
     */
    String EXISTING_POSITION_PATTERN = "existing.position.pattern";

    /**
     * 数据异常，未能获得合约标记价
     */
    String FAILED_TO_OBTAIN_CONTRACT_MARKER_PRICE = "failed.to.obtain.contract.marker.price";

    /**
     * 最大杠杆倍数为%s
     */
    String MAXIMUM_LEVERAGE_MULTIPLE_IS = "maximum.leverage.multiple.is";

    /**
     * 最小下单数量为%s
     */
    String MINIMUM_ORDER_QUANTITY_IS = "minimum.order.quantity.is";

    /**
     * 最小下单张数数量
     */
    String MINIMUM_ORDER_SHEET_QUANTITY_IS = "minimum.order.sheet.quantity.is";

    /**
     * 数据异常，保证金额度与订单面值不匹配
     */
    String MARGIN_AMOUNT_DOES_NOT_MATCH_THE_FACE_VALUE_OF_THE_ORDER = "margin.amount.does.not.match.the.face.value.of.the.order";

    /**
     * 最大挂单数量为%s
     */
    String MAXIMUM_NUMBER_OF_ORDERS_IS = "maximum.number.of.orders.is";

    /**
     * 数据异常，无法获得用户信息
     */
    String UNABLE_TO_OBTATIN_USER_INFORMATION = "unable.to.obtain.user.information";

    /**
     * 数据异常，未能查询到仓位信息
     */
    String POSITION_INFORMATION_COULD_NOT_BE_QUERIED = "position.information.could.not.be.queried";

    /**
     * 订单信息初始化失败
     */
    String FAILED_TO_INITIALIZE_THE_ORDER_INFORMATION = "failed.to.initialize.the.order.information";

    /**
     * 最小下单价格为%s
     */
    String MINIMUM_ORDER_PRICE_IS = "minimum.order.price.is";

    /**
     * 限价单单笔最大数量为%s
     */
    String LIMIT_THE_MAXIMUM_NUMBER_OF_SINGLE_PENS_TO = "limit.the.maximum.number.of.single.pens.to";

    /**
     * 限价单价格过高，请调整
     */
    String LIMIT_ORDER_IS_TOO_HIGH = "limit.order.is.too.high";

    /**
     * 限价单价格过低，请调整
     */
    String LIMIT_ORDER_IS_TOO_LOW = "limit.order.is.too.low";

    /**
     * 数据异常，未能获得合约标记价
     */
    String FAILED_TO_OBTAIN_THE_CONTRACT_MARKER_PRICE = "failed.to.obtain.the.contract.marker.price";

    /**
     * 市价单单笔最大数量为%s
     */
    String MAXIMUM_QUANTITY_OF_A_SINGLE_TRANSACTION_IN_MARKET_PRICE_IS = "maximum.quantity.of.a.single.transaction.in.market.price.is";

    /**
     * 数据异常，未能获取到订单信息
     */
    String ORDER_INFORMATION_COULD_NOT_BE_OBTAINED = "order.information.could.not.be.obtained";

    /**
     * 未能获得币对信息
     */
    String FAILED_TO_OBTAIN_COIN_PAIR_INFORMATION = "failed.to.obtain.coin.pair.information";

    /**
     * 数据异常，数量小于等于0
     */
    String QUANTITY_IS_LESS_THAN_OR_EQUAL_TO_ZERO = "quantity.is.less.than.or.equal.to.zero";

    /**
     * 平仓数量大于最大可平数量
     */
    String QUANTITY_GREATER_THAN_MAX_QUANTITY = "quantity.greater.than.max.quantity";

    /**
     * 未能查询到仓位的币对信息：%s
     */
    String FAILED_TO_QUERY_THE_CURRENCY_PAIR_INFORMATION_OF_THE_POSITION = "failed.to.query.the.currency.pair.information.of.the.position";

    /**
     * 新增成交记录失败
     */
    String FAILED_TO_ADD_TRANSACTION_RECORDS = "failed.to.add.transaction.records";

    /**
     * 新增订单信息失败
     */
    String FAILED_TO_ADD_ORDER_INFORMATION = "failed.to.add.order.information";

    /**
     * 修改仓位信息失败
     */
    String FAILED_TO_MODIFY_POSITION_INFORMATION = "failed.to.modify.position.information";

    /**
     * 未能查询到币对信息：%s
     */
    String FAILED_TO_QUERY_COIN_PAIR_INFORMATION = "failed.to.query.coin.pair.information";

    /**
     * 币对标记价为空：%s
     */
    String TOKEN_PRICE_IS_EMPTY = "token.price.is.empty";

    /**
     * 仓位信息已发生变化
     */
    String POSITION_INFORMATION_HAS_CHANGED = "position.information.has.changed";

    /**
     * 仓位正在强平处理中
     */
    String POSITION_IS_BEING_STRONGLY_CLOSED = "position.is.being.strongly.closed";

    /**
     * 仓位可平数量不足
     */
    String INSUFFICIENT_NUMBER_OF_POSITIONS_CAN_BE_CLOSED = "insufficient.number.of.positions.can.be.closed";

    /**
     * 未能获得标记价
     */
    String FAILED_TO_OBTAIN_THE_TAG_PRICE = "failed.to.obtain.the.tag.price";

    /**
     * 未能获得最新价
     */
    String FAILED_TO_OBTAIN_THE_LATEST_PRICE = "failed.to.obtain.the.latest.price";

    /**
     * 未能获得指数价
     */
    String FAILED_TO_OBTAIN_THE_INDEX_PRICE = "failed.to.obtain.the.index .price";

    /**
     * 无法识别的操作类型
     */
    String UNRECOGNIZED_OPERATIONI_TYPE = "unrecognized.operation.type";

    /**
     * 合约账户可用额度不足
     */
    String INSUFFICIENT_CONTRACT_ACCOUNT_AVILABILITY = "insufficient.contract.account.availability";

    /**
     * 合约账户持仓保证金额度不足
     */
    String CONTRACT_ACCOUNT_HOLDING_MARGIN_IS_INSUFFICIENT = "contract.account.holding.margin.is.insufficient";

    /**
     * 合约账户冻结额度不足
     */
    String FROZEN_AMOUNT_OF_THE_CONTRACT_ACCOUNT_IS_INSUFFICIENT = "frozen.amount.of.the.contract.account.is.insufficient";

    /**
     * 修改账户额度失败
     */
    String FAILED_TO_MODIFY_THE_ACCOUNT_LIMIT = "failed.to.modify.the.account.limit";

    /**
     * 仓位状态已发生改变
     */
    String POSITION_STATUS_HAS_CHANGED = "position.status.has.changed";

    /**
     * 操作失败
     */
    String OPERATION_FAILURE = "operation.failure";

    /**
     * 仓位强平中
     */
    String POSITION_IS_STRONG_IN_FLAT = "position.is.strong.in.flat";

    /**
     * 异常操作
     */
    String ABNORMAL_OPERATION = "abnormal.operation";

    /**
     * 仓位保证金上限
     */
    String EXCEED_THE_LIMIT_OF_OPERABLE_POSITION_MARGIN = "exceed.the.limit.of.operable.position.margin";

    /**
     * 将导致仓位强平，请修改调整金额
     */
    String POSITION_WILL_BE_STRONGLY_CLOSED = "position.will.be.strongly.closed";

    /**
     * 止盈止损委托状态已改变
     */
    String STOP_PROFIT_STOP_LOSS_ORDER_STATUS_HAS_CHANGED = "stop.profit.stop.loss.order.status.has.changed";

    /**
     * 委托数量不能超过当前持仓数量
     */
    String NUMBER_OF_ORDERS_CANNOT_EXCEED_THE_CURRENT_NUMBER_OF_POSITIONS_HELD = "number.of.orders.cannot.exceed.the.current.number.of.positions.held";

    /**
     * 数据异常，币对信息已不可用
     */
    String CURRENCY_PAIR_INFORMAION_IS_NOT_AVAILABLE = "currency.pair.information.is.not.available";

    /**
     * 止盈触发价格需要高于标记价格
     */
    String STOP_PROFIT_TRIGGER_PRICE_NEEDS_TO_BE_HIGHER_THAN_THE_MARK_PRICE = "stop.profit.trigger.price.needs.to.be.higher.than.the.mark.price";

    /**
     * 止盈触发价格需要低于标记价格
     */
    String STOP_PROFIT_TRIGGER_PRICE_NEEDS_TO_BE_LOWER_THAN_THE_MARK_PRICE = "stop.profit.trigger.price.needs.to.be.lower.than.the.mark.price";

    /**
     * 止损触发价格需要低于标记价格
     */
    String STOP_LOSS_TRIGGER_PRICE_NEEDS_TO_BE_LOWER_THAN_THE_MARK_PRICE = "stop.loss.trigger.price.needs.to.be.lower.than.the.mark.price";

    /**
     * 止损触发价格需要高于标记价格
     */
    String STOP_LOSS_TRIGGER_PRICE_NEEDS_TO_BE_HIGHER_THAN_THE_MARK_PRICE = "stop.loss.trigger.price.needs.to.be.higher.than.the.mark.price";

    /**
     * 新增止盈止损委托失败
     */
    String NEW_STOP_PROFIT_STOP_LOSS_COMMISSION_FAILED = "new.stop.profit.stop.loss.commission.failed";

    /**
     * 杠杆倍数为%s时，最大持仓数量为%s
     */
    String WHEN_THE_LEVERAGE_RATIO_IS_S_MAXIMUM_NUMBER_OF_POSITIONS_HELD_IS_S = "when.the.leverage.ratio.is.s.maximum.number.of.positions.held.is.s";

    /**
     * 获取订单信息失败
     */
    String FAILED_TO_OBTAIN_ORDER_INFORMATION = "failed.to.obtain.order.information";

    /**
     * 数据异常，无法识别的订单信息
     */
    String UNRECOGNIZED_ORDER_INFORMATION = "unrecognized.order.information";

    /**
     * 无法判断是否是买单
     */
    String IMPOSSIBLE_TO_TELL_WHETHER_IT_IS_THE_PURCHASE = "impossible.to.tell.whether.it.is.the.purchase";

    /**
     * 价格不能为空
     */
    String PRICE_CANNOT_BE_NULL = "price.cannot.be.null";

    /**
     * 价格不能小于等于0
     */
    String PRICE_CANNOT_BE_LESS_THAN_OR_EQUAL_TO_ZERO = "price.cannot.be.less.than.or.equal.to.zero";

    /**
     * 杠杆倍数最低为1
     */
    String MINIMUM_LEVERAGE_MULTIPLE_IS_ONE = "minimum.leverage.multiple.is.one";

    /**
     * 杠杆倍数没有变化，无需调整
     */
    String LEVERAGE_MULTIPLES_DO_NOT_NEED_TO_BE_ADJUSTED = "leverage.multiples.do.not.need.to.be.adjusted";

    /**
     * 当前模式下有挂单或持仓 无法降低杠杆倍数
     */
    String UNABLE_TO_REDUCE_LEVERAGE_MULTIPLES = "unable.to.reduce.leverage.multiples";

    /**
     * 数据异常，未能识别的仓位模式
     */
    String UNRECOGNIZED_POSITION_PATTERNS = "unrecognized.position.patterns";

    /**
     * 仓位模式全仓
     */
    String POSITION_MODE_FULL = "position.mode.full";

    /**
     * 仓位模式逐仓
     */
    String POSITION_MODE_ISOLATE = "position.mode.isolate";

    /**
     * 订单方向做多
     */
    String ORDER_SIDE_LONG = "order.side.long";

    /**
     * 订单方向做空
     */
    String ORDER_SIDE_SHORT = "order.side.short";

    /**
     * 请求常规错误
     */
    String UNKNOWN = "unknown";

    /**
     * 客户自定义订单id重复
     */
    String DUPLICATE_CLIENT_ORDER_ID = "duplicate.client.order.id";
}

